<?php 
    require_once('inc/conn.php');
 ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <?php 
             $sql="INSERT INTO liuyan(insert_title,insert_phone,insert_QQ,insert_email,insert_content)VALUES('".$_POST['title']."','".$_POST['phone']."','".$_POST['QQ']."','".$_POST['email']."','".$_POST['content']."')";
            mysql_query($sql);
           echo "<script>alert('添加成功');window.location.href='liuyan.php'</script>";
            exit;
            mysql_close($conn);
     ?>
</body>
</html>